#include "Thread.h"
#include <stdio.h>

class MyThread : public Thread {
	void run() {
		printf("%s thread a=%i", getName().c_str(), a);
		while(1) {};
	}

public:
	MyThread(ThreadPriority pri = Thread::PRIORITY_NORMAL, string _name = "")
		: Thread(pri, _name) {
	};

	int a;

};
